﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="DN_MatHang.aspx.cs" Inherits="Doanh_Nghiệp_DN_MatHang" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
 <div style="text-align: left">
        <table style="width:100%;background-color:#D0BEB6" border="1">
            <tr>
                <td colspan="2" style="color: #993300; height: 18px;" align="center">
                    Danh Sách Mặt Hàng</td>
            </tr>
            <tr>
                <td align="left" colspan="2"> Tên sản phẩm: 
                <asp:TextBox ID="txttenmathang" runat="server"></asp:TextBox>&nbsp; Loại Hàng :
                <asp:DropDownList ID="ddl_LoaiHang" runat="server">
                </asp:DropDownList>Tình Trạng :
                <asp:DropDownList ID="ddl_TinhTrang" runat="server">
                </asp:DropDownList>
                <asp:Button ID="bttimkiem" runat="server" Text="Tìm kiếm"  OnClick="bttimkiem_Click"/></td>
            </tr>
            <tr>
                <td colspan="2" style="background-image: url(admin/images/nenhotdeal copy.png); background-color: transparent">
                    &nbsp; &nbsp; &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left">
                <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table  width="auto" bgcolor="#cccccc" border="0">
                <thead>
                    <tr class="listtableheader">
                        <th>Mã </th>
                        <th>Tên</th>
                        <th>Loại </th>
                        <th>Giá (VND)</th>
                        <th>Bắt Đầu</th>
                        <th>Kết Thúc</th>
                        <th>Tình Trạng</th>
                        <th>Hình Ảnh</th>
                        <th>Sửa</th>
                        
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td><%#Eval("Mamh") %>
                   
                </td>
                 <td><asp:HyperLink ID="hyp_TenSP" runat="server"></asp:HyperLink></td>
                <td>
                    <asp:Literal ID="l_loaihang" runat="server"></asp:Literal></td>
                    <td><%#Eval("Giaban") %></td>
                    <td><%#Eval("Thoigian_batdau")%></td>
                    <td><%#Eval("thoigian_ketthuc") %></td>
                    
                    
                   <td><asp:Literal ID="l_MaTinhTrang" runat="server" /></td>
                    <td><asp:Image ID="i_HinhMinhHoa" runat="server" Height="30px" Width="30px"/></td>
                        
                   <td>
                        <asp:HyperLink ID="hyl_sua" runat="server">Sửa</asp:HyperLink></td>
                    
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>
                    <cc1:PagerV2_8 ID="ptmathang" runat="server" OnCommand="ptmathang_Command" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

